home *** CD-ROM | disk | FTP | other *** search
- Path: gate.net!pslfl2-15
- From: bhutto@gate.net (William Hutto)
- Newsgroups: comp.lang.c
- Subject: Re: Screen Scrolling Prob
- Date: 2 Jan 1996 03:24:54 GMT
- Organization: CyberGate, Inc.
- Message-ID: <4ca8i6$ghk@news.gate.net>
- References: <DKEz2q.Hs2.0.sheppard@torfree.net>
- NNTP-Posting-Host: pslfl2-15.gate.net
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <DKEz2q.Hs2.0.sheppard@torfree.net>,
- bm882@torfree.net (Daniel M. Sher) wrote:
- >Hi.... I have a problem with the way IBM computers work... You know that
- >when you put a character on line 25- at the end of the line, the computer
- >automaticly scrolls the screen up one line? Well, I have this program
- >that streches the screen to 43 lines, but when it gets to the end of line
- >25, it moves the whole screen up one line. It is driving me crazy. Also,
- >I noticed that it only happens when I use the cprintf statement.... I'm a
- >beginner, so could you please help me with this.
- >
- >Thanx.
- >
- >Daniel
- >bm882@freenet.toronto.on.ca
- >
- >
- >
- The problem is that cprintf() thinks you are in 25-row mode. It may be
- hard-coded for that (tsk tsk!). It depends on how you achieve your 43-row
- mode. If you don't use an extension provided by your compiler to switch to
- 43-row mode it's not going to be able to set internal variables that would
- indicate this, assuming it has such variables. In such case, any functions
- relying on these variables would make incorrect assumptions. If you can't
- resolve it through your compiler's extended library, you'll either have to
- drop down to a lower level and write the function yourself or try another
- function.
-
- Bill
-
-